package tables.card;

import java.util.Date;

/**
 * Card entity. @author MyEclipse Persistence Tools
 */

public class Card implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer type;
	private Integer times;
	private Integer period;
	private Integer isvalid;
	private Date start;
	private Date end;
	private String num;

	// Constructors

	/** default constructor */
	public Card() {
	}

	/** full constructor */
	public Card(Integer type, Integer times, Integer period, Integer isvalid,
			Date start, Date end, String num) {
		this.type = type;
		this.times = times;
		this.period = period;
		this.isvalid = isvalid;
		this.start = start;
		this.end = end;
		this.num = num;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getTimes() {
		return this.times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public Integer getPeriod() {
		return this.period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public Integer getIsvalid() {
		return this.isvalid;
	}

	public void setIsvalid(Integer isvalid) {
		this.isvalid = isvalid;
	}

	public Date getStart() {
		return this.start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return this.end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public String getNum() {
		return this.num;
	}

	public void setNum(String num) {
		this.num = num;
	}

}